<?php

/*
 * This file is part of the symfony package.
 * (c) Fabien Potencier <fabien.potencier@symfony-project.com>
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */

class fbWebDebugLogger extends sfWebDebugLogger
{
    public function filterResponseContent(sfEvent $event, $content)
    {
        $content = parent::filterResponseContent($event, $content);

        if (sfConfig::get('sf_web_debug') && $this->webDebug)
            $this->webDebug->saveLogFiles($content);

        return $content;
    }
}
